home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-05-05 | 1.2 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="Network\Auto Login\NetWare"
- "NAME"="Settings"
- "VERSION"="1.01"
- "LANGUAGE"="VBScript"
- "OSVERSION"="0101"
- "TEXT 1"="User name"
- "TEXT 2"="Password"
- "DESCRIPTION 1"="Auto login can be used to eliminate the "Press Ctrl+Alt+Del to login" screen."
- "DESCRIPTION 2"="Enter your user information here."
- "DESCRIPTION 3"="When you are finished, apply your changes and select the "General" plug-in to activate auto logon."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sRP="HKLM\SOFTWARE\NOVELL\NWGINA\Login\"
- Sub Plugin_Initialize
- if RegPathExists(sRP) then
- s=RegReadValue(srp&"DefaultNetWareUserName")
- SetUIElement 1,s
-
- s=RegReadValue(srp&"DefaultNetWarePassword")
- SetUIElement 2,s
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(srp&"DefaultNetWareUserName",s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(srp&"DefaultNetWarePassword",s,1)
-
-
- Call Logoff()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-